*{
    padding: 0;
    margin: 0;
}
ul{
    list-style: none;
}
body{
    font-size: 14px;
    color: #333333;
}
// 发号中心首页头部logo
.fhcenter-nav{
    width: 100%;
    height: 90px;
    background-image: url(../img/top-bg.png);
    .fhcenter-nav-container{
        width: 998px;
        height: 90px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        .fhcenter-nav-search{
            width: 452px;
            height: 64px;
            margin: auto 0;
            position: relative;
            .nav-search-box{
                height: 34px;
                width: 442px;
                outline: none;
                border: none;
                padding-left: 10px;
            }
            .search-box{
                width: 80px;
                height: 34px;
                background-color: #f80;
                color: #fff;
                text-align: center;
                line-height: 34px;
                position: absolute;
                right: 0;
                top: 0;
                &:hover{
                    background-color: #f60;
                    cursor: pointer;
                }
                img{
                    width: 15px;
                    vertical-align: sub;
                }
            }
            .nav-keyword{
                font-size: 12px;
                margin-top: 12px;
                color: #bdbdbd;
                .keyword-title{
                    color: #d9d9d9;
                    font-weight: 700;              
                }
                .keyword-text{
                    margin-right: 15px;
                    &:hover{
                        color: #f80;
                        cursor: pointer;
                    }
                }
            }
        }
    }   
}
// 首页导航
.fhcenter-bar{
    width: 100%;
    height: 43px;
    background-color: #4d4d4d;
    border-top: 1px solid #5f5f5f;
    .fhcenter-bar-container{
        width: 998px;
        height: 43px;
        margin: 0 auto;
        position: relative;
        .fhcenter-bar-list{
            display: flex;
            .fhcenter-bar-item{
                width: 121px;
                height: 43px;
                border-right: 1px solid #5f5f5f;
                text-align: center;
                line-height: 43px;
                font-size: 18px;
                color: #e5e5e5;
                &:hover{
                    background-color: #f80;
                    color: #fff;
                    cursor: pointer;
                }
            }
            .active{
                background-color: #f80;
                color: #fff;
            }
        }
        .bar-item-num{
            position: absolute;
            top: 6px;
            right: 0;
            width: 100px;
            height: 30px;
            background-color: #212121;
            font-size: 18px;
            color: #e5e5e5;
            .num-icon{
                width: 26px;
                height: 21px;
                display: inline-block;
                background-image: url(../img/other-ico.png);
                vertical-align: bottom;
                margin-top: 4px;
                margin-left: 5px;
            }
        }
    }
}
// 热门游戏部分
.fhcenter-hot-game{
    .hot-game-container{
        width: 998px;
        height: 154px;
        margin: 10px auto;
        border: 1px solid #eee;
        .hot-game-title{
            width: 100%;
            height: 31px;
            background-color: #fafafa;
            border-bottom: 1px solid #eee;
            position: relative;
            .hot-game-text{
                position: absolute;
                top: 0;
                left: 0;
                width: 126px;
                height: 30px;
                border-top: 2px solid #ff7a00;
                color: #f60;
                font-weight: bold;
                background-color: #fff;
                text-align: center;
                line-height: 30px;
                border-right: 1px solid #eee;
            }
        }
        .hot-game-list{
            width: 998px;
            display: flex;
            flex-wrap: wrap;
            padding: 0 8px 0 9px;
            box-sizing: border-box;
            .hot-game-item{
                padding: 0 8px 0 9px;
                border-right: 1px solid #aaa;
                line-height: 12px;
                margin-top: 15px;
                &:hover{
                    color: #ff0000;
                    cursor: pointer;
                }
            }
            .active{
                color: #ff0000;
            }
        }
    }
}
.fhcenter-content{
    .fhcenter-content-container{
        width: 998px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        .fhcenter-left{
            width: 680px;
            .fhcenter-left-slide{
                width: 680px;
                height: 298px;
                border: 1px solid #eee;
                box-sizing: border-box;
                padding: 5px;
                background-color: #f8f8f8;
                position: relative;
                .left-slide-imgs{
                    position: relative;
                    img{
                        position: absolute;
                        top: 0;
                        left: 0;
                        opacity: 0;
                        width: 668px;
                        height: 286px;
                    }
                    .active{
                        opacity: 1;
                    }
                }
                .slide-item-mask{
                    position: absolute;
                    bottom: 5px;
                    left: 6px;
                    width: 667px;
                    height: 70px;
                    background-color: rgba(0,0,0,.5);
                    z-index: 3;
                    .mask-title{
                        position: relative;
                        font-size: 17px;
                        color: #fff;
                        .mask-title-slide{
                            position: absolute;
                            left: 20px;
                            top: 25px;                         
                            opacity: 0;
                        }
                        .active{
                            opacity: 1;
                        }
                    }
                    .mask-imgs{
                        position: absolute;
                        right: 0;
                        top: 10px;
                        display: flex;
                        .mask-img-item{
                            width: 80px;
                            height: 50px;
                            margin-right: 8px;
                            .mask-double{
                                width: 80px;
                                height: 50px;
                                background-color: rgba(0,0,0,.5);
                                position: absolute;
                            }                       
                            img{
                                width: 80px;
                                height: 50px;
                            }
                        }
                        .active{
                            width: 74px;
                            height: 44px;
                            border: 3px solid #ebf30b;
                            img{
                                width: 74px;
                                height: 44px;
                            }
                            .mask-double{
                                background: none;
                            }
                        }
                    }
                }
            }
        }
    }
}
// 标题栏的公共样式
.rank-list-title{
    height: 31px;
    background-image: url(../img/title.png);
    font-size: 12px;
    border-bottom: 1px solid #ededed;
    font-weight: bold;
    padding-left: 10px;
    box-sizing: border-box;
    line-height: 31px;
}
.content-rank-list{
    display: flex;
    flex-wrap: wrap;
    width: 680px;
    justify-content: space-between;
    margin-top: 10px;
    .rank{
        width: 218px;
        border: 1px solid #eee;
        margin-bottom: 10px;
        .rank-item-default{           
            border-bottom: 1px dashed #ccc; 
            height: 32px;
            padding: 7px 10px;
            display: flex;
            box-sizing: border-box;             
            .item-default-num{
                width: 15px;
                height: 15px;
                background-image: url(../img/ico.png);
                background-position: 0 -191px;
                text-align: center;
                color: #fff;
                font-size: 12px;
                margin-top: 2px;
            }
            .item-default-title{
                margin-left: 10px;
                width: 155px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .item-default-get{
                width: 17px;
                height: 17px;
                background-image: url(../img/ico.png);
                background-position: 0 -264px;
                margin-top: 2px;
            }
            &:hover{
                display: none;
            }
        }
        .rank-item-hover{
            height: 60px;
            padding: 7px 10px;
            display: flex;
            display: none;
            border-bottom: 1px dashed #ccc; 
            .item-hover-num{
                width: 15px;
                height: 15px;
                background-image: url(../img/ico.png);
                background-position: 0 -191px;
                text-align: center;
                color: #fff;
                font-size: 12px;
                margin-top: 22px;
            }
            img{
                margin: 0 8px;
            }
            .item-hover-title{
                width: 105px;
                .item-hover-ling{
                    display: block;
                    width: 43px;
                    height: 20px;
                    background-image: url(../img/ico.png);
                    background-position: 0 -140px;
                    color: #fff;
                    text-align: center;
                }
            }
            &:first-child{
                display: flex;
            }
        }          
    }   
}
.rank-item-default:hover +.rank-item-hover{
    display: flex;
}
// 发号说明
.fhcenter-explain{
    width: 680px;
    border: 1px solid #eee;
    box-sizing: border-box;
    .explain-ico{
        display: inline-block;
        width: 16px;
        height: 14px;
        background-image: url(../img/ico.png);
        background-position: 0 -311px;
        vertical-align: text-bottom;
        margin-right: 2px;
    }
    .explain-content{
        padding: 8px 15px 10px 15px;
        p{
            font-size: 12px;
            line-height: 25px;
        }
    }
}
// 新游测试和新服表的公共样式
.new-game-title{
    width: 304px;
    padding: 2px;
    .newGame-list{
        display: flex;
        line-height: 26px;
        background-color: #f4f4f4;
        .game-name{
            width: 118px;
            padding-left: 13px;
            box-sizing: border-box;
            border-right: 2px solid #fff;
        }
        .new-game-time{
            width: 103px;
            text-align: center;
            border-right: 2px solid #fff;
        }
        .send-num{
            width: 80px;
            text-align: center;
        }
    }
}
.fhcenter-right{
    width: 310px;
    .fhcenter-new-game{
        height: 73px;
        border: 1px solid #eee;
        box-sizing: border-box;
    }
    .fhcenter-new-sever{
        height: 345px;
        margin: 10px 0;
        border: 1px solid #eee;
        box-sizing: border-box;
        .new-sever-content{
            display: flex;
            width: 304px;
            height: 272px;
            margin: 5px 0;
            .new-sever-gameName{
                width: 116px;
                border-right: 2px solid #fbfbfb;
                .sever-gameName-item{
                    height: 23px;
                    padding: 2px 0 2px 13px;
                }
            }
            .new-sever-gameTime{
                width: 103px;
                border-right: 2px solid #fbfbfb;
                .sever-gameName-time{
                    height: 23px;
                    padding: 2px 0 2px 0;
                    text-align: center;
                }
            }
            .new-sever-sendNum{
                width: 80px;
                .send-num{
                    width: 43px;
                    height: 20px;
                    background-image: url(../img/ico.png);
                    background-position: 0 -140px;
                    margin: 0 auto;
                    margin-bottom: 7px;
                    margin-top: 2px;
                    color: #fff;
                    text-align: center;
                }
            }
        }
    }
    .fhcenter-now-ad{
        height: 612px;
        border: 1px solid #eee;
        .now-ad-list{
            padding: 0 10px;
            .now-ad-item{
                height: 44px;
                border-bottom: 1px dotted #eee;
                padding: 10px 0;
                &:last-child{
                    border-bottom: none;
                }
                .cloumn-one{
                    display: flex;
                    justify-content: space-between;
                    .cloumn-ling,.cloumn-time{
                        color: #aaa;
                    }
                }
                .cloumn-two{
                    display: flex;
                    justify-content: space-between;
                    margin-top: 5px;
                    .cloumn-giftBag:hover{
                        color: #f60;
                    }
                    .cloumn-want{
                        width: 49px;
                        height: 20px;
                        background-image: url(../img/ico.png);
                        background-position: 0 -530px;
                        color: #fff;
                        text-align: center;
                    }
                }
            }
        }
    }
}
// 友情链接
.friend-link{
    width: 998px;
    border: 1px solid #e7e7e7;
    box-sizing: border-box;
    margin: 10px auto;
    .link-ico{
        display: inline-block;
        width: 16px;
        height: 14px;
        background-image: url(../img/ico.png);
        background-position: 0 -401px;
        vertical-align: text-bottom;
        margin-right: 2px;
    }
    .friend-link-list{
        padding: 15px 13px 8px 13px;
        display: flex;
        .friend-link-item{
            height: 14px;
            margin: 5px 0;
            padding: 0 8px;
            border-right: 1px solid #d6d6d6;
            line-height: 14px;
            &:hover{
                color: #f60;
            }
            &:last-child{
                border-right: none;
            }
        }
    }
}
// 底部
.foot-bottom{
    width: 990px;
    margin: 0 auto;
    border-top: 1px solid #f5f5f5;
    padding: 10px 0 15px 0;
    text-align: center;
    .footer-nav{
        display: flex;
        width: 490px;
        margin: 0 auto;
        .footer-item{
            margin: 5px 0;
            padding: 0 12px;
            border-right: 2px solid #d9d9d9;
            line-height: 14px;
            &:last-child{
                border-right: none;
            }
            &:hover{
                color: #f60;
            }
        }
    }
    .copyright{
        color: #999;
        height: 24px;
        .yue-b2{
            color: #333;
            &:hover{
                color: #f60;
            }
        }
    }
    .web:hover{
        color: #f60;
    }
}